package cn.edu.lingnan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 文韬
 * @since 2022-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程编号
     */
    @TableId(value = "c_id", type = IdType.AUTO)
    private Long cId;

    /**
     * 用户编号
     */
    private Long uId;

    /**
     * 课程名称
     */
    private String cName;

    /**
     * 开课时间
     */
    private LocalDateTime cOpenTime;

    /**
     * 结课时间
     */
    private LocalDateTime cCloseTime;

    /**
     * 用户名称
     */
    private String uName;

    /**
     * 用户注册时间
     */
    private LocalDateTime uRegTime;

    /**
     * 课程状态(1为审核中,2为审核通过,3为课程结课)
     */
    private String cStatus;


}
